﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OrganizationName.CodeGeneration;

namespace OrganizationName.CodeGeneration
{
    public class CodeGenerationException : Exception
    {
        public CodeGenerationException(string message, ICodeContext codeContext, Exception innerException)
            : base("There was an error generating the runtime code.\r\n\r\n" + message + "\r\n\r\nContext: " + codeContext.FullPath + "\r\n\r\n", innerException)
        {
        }
    }
}
